package com.itfallrain.dao;

import com.itfallrain.entity.Auth;

import java.util.List;
import java.util.Map;

public interface AuthMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Auth record);

    int insertSelective(Auth record);

    Auth selectByPrimaryKey(Integer id);

    List<Map<String,Object>> selectAuthById(Integer id);



    int updateByPrimaryKeySelective(Auth record);

    int updateByPrimaryKey(Auth record);

    List<Map<String, Object>> selectAll();

    List<Map<String, Object>> selectByRoleId(Integer role_id);

}